<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-cattle-heartbeat-monitor :data="data" />
      </a-tab-pane>

      <a-tab-pane key="2" tab="实时数据">
        <device-cattle-heartbeat-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="3" tab="采集记录">
        <device-cattle-heartbeat-data-collect-data-plan :data="data" />
      </a-tab-pane>

      <a-tab-pane key="4" tab="配置">
        <device-cattle-heartbeat-config-other :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="推送记录">
        <device-cattle-heartbeat-config-queue :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceCattleHeartbeatMonitor from './heartbeat-monitor.vue';
import DeviceCattleHeartbeatData from './heartbeat-data.vue';
import DeviceCattleHeartbeatConfigOther from './heartbeat-config-other.vue';
import DeviceCattleHeartbeatConfigQueue from './heartbeat-config-queue.vue';
import DeviceCattleHeartbeatDataCollectDataPlan from './heartbeat-collect-data-plan.vue';


export default {
  name: 'DeviceCattleHeartbeat',
  components: {
    DeviceCattleHeartbeatMonitor,
    DeviceCattleHeartbeatData,
    DeviceCattleHeartbeatConfigOther,
    DeviceCattleHeartbeatConfigQueue,
    DeviceCattleHeartbeatDataCollectDataPlan
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
